package com.tyx.modules.manage.dao;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tyx.modules.manage.entity.PractitionersEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tyx.modules.manage.entity.PractitionersModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wangchao
 * @email 
 * @date 2019-06-06 09:51:05
 */
@Mapper
public interface PractitionersDao extends BaseMapper<PractitionersEntity> {

    IPage<PractitionersModel> queryAllByOpId(IPage<PractitionersModel> page, @Param("ew") Wrapper<PractitionersModel> queryWrapper);

    List<PractitionersModel> queryList(@Param("ew") Wrapper<PractitionersModel> queryWrapper);

    /*void cancel(PractitionersEntity PractitionersEntity);*/

    Long operationid(String corporate_name);

    Long subuser(String subUser);
}
